### Parameters

| Parameter | Type | Description | Default |
|-----------|------|-------------|---------|
| `id` | `str` | The model ID to use for embeddings | `"togethercomputer/m2-bert-80M-32k-retrieval"` |
| `dimensions` | `int` | Output dimensions of the embedding | `768` |
| `api_key` | `Optional[str]` | Together API key | Environment variable `TOGETHER_API_KEY` |
| `base_url` | `str` | Base URL for API requests | `"https://api.together.xyz/v1"` |